package com.example.houqin_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.comment_oa.pojos.rear.Loss;
import com.example.comment_oa.pojos_vo.LogisticsVo.EntrepotVo;
import com.example.comment_oa.pojos_vo.LogisticsVo.LossVo;
import com.example.houqin_oa.service.LossService;
import com.example.houqin_oa.mapper.LossMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author liang
* @description 针对表【loss】的数据库操作Service实现
* @createDate 2022-12-02 22:24:50
*/
@Service
public class LossServiceImpl extends ServiceImpl<LossMapper, Loss>
    implements LossService{

    @Autowired
    LossMapper lossMapper;

    @Override
    public List<Loss> lossAll(LossVo lossVo) {
        return lossMapper.lossAll(lossVo);
    }

    @Override
    public Boolean InsId(EntrepotVo entrepotVo) {
        return lossMapper.InsId(entrepotVo);
    }
}




